const state = {
  count: 0,
  age: 15,
  todos: [{
    id: 1,
    text: '...',
    done: true
  },
  {
    id: 2,
    text: '...',
    done: false
  }
  ]
}

const mutations = {
  addCount (state:any) {
    state.count++
  },
  prevAge (state:any) {
    state.age--
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
